#ifndef SPHERE_H
#define SPHERE_H

#include "geometry.h"

class Sphere : public Geometry
{
  public:
    Sphere(Scene *scene);
    virtual ~Sphere();
    virtual void loadAttributes(std::istream &inData);
    Collision intersect(Ray r) const;
  private:
    Coordinate m_pos;
    double m_radius;
};

#endif
